package com.groupbuying.sysconfig.dao;

import com.groupbuying.sysconfig.domain.SysconfigFunctionControlDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 功能控制表
 * @author vincentxin
 * @email vincentxin@aliyun.com
 * @date 2019-06-24 07:37:21
 * @des
 */

@Mapper
@Repository
public interface SysconfigFunctionControlDao {

	SysconfigFunctionControlDO get(Integer id);

	List<String> getUrls(String centerCode);

	List<SysconfigFunctionControlDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SysconfigFunctionControlDO sysconfigFunctionControl);
	
	int update(SysconfigFunctionControlDO sysconfigFunctionControl);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
